import request from '@/request/request'

// 客户对账管理API
export const reconciliationApi = {
  // 获取客户对账信息
  getReconciliation: (params) => {
    return request({
      url: '/crm/reconciliation',
      method: 'get',
      params
    })
  },

  // 导出客户对账报表
  exportReconciliation: (params) => {
    return request({
      url: '/crm/reconciliation/export',
      method: 'get',
      params,
      responseType: 'blob'
    })
  }
}
